port-serial-at: allow specifying subsystem when creating a 'MMPortSerialAt'

Don't just assume that all AT ports are TTYs.
This commit is contained in:
Aleksander Morgado
2013-11-19 20:24:27 +01:00
parent 9432674087
commit 38ebf7c95b
4 changed files with 19 additions and 6 deletions

View File

@@ -77,7 +77,8 @@ struct _MMPortSerialAtClass {
GType mm_port_serial_at_get_type (void);
MMPortSerialAt *mm_port_serial_at_new (const char *name);
MMPortSerialAt *mm_port_serial_at_new (const char *name,
MMPortSubsys subsys);
void mm_port_serial_at_add_unsolicited_msg_handler (MMPortSerialAt *self,
GRegex *regex,