Age | Commit message (Collapse) | Author | |
---|---|---|---|
2022-06-30 | port: make 'timed-out' a signal for all port types, not just serial | Aleksander Morgado | |
2021-03-31 | port-serial: remove misleading comments | Aleksander Morgado | |
2020-09-19 | core: add autoptr cleanup methods to all internal types | Aleksander Morgado | |
2020-04-08 | ports: port to object logging | Aleksander Morgado | |
2019-06-03 | port-serial: allow deciding whether the command is queued last or run next | Aleksander Morgado | |
By default all the commands we were sending through the serial port were added at the tail of the pending queue, but we may want to queue them at the head in very specific cases (e.g. while sending an SMS). | |||
2018-09-12 | port-serial: add flow control property | Alfonso Sánchez-Beato | |
Add flow control property to the MMPortSerial class, and use it when setting the port flow control. | |||
2017-04-18 | port-serial: remove all default flow control settings | Aleksander Morgado | |
We won't set XON/XOFF by default and we won't allow setting RTS/CTS via a property. The serial port by default starts with no flow control configured. | |||
2017-04-18 | port-serial: new method to explicitly set flow control settings | Aleksander Morgado | |
2016-01-23 | port-serial: rework response parsing | Aleksander Morgado | |
Response parsing was being done in different places for AT and QCDM subclasses; in the case of AT it was being done early, before returning the byte array in the mm_serial_port_command_finish() response. In the case of QCDM, it was being done after mm_serial_port_command_finish(), and that was forcing every caller to cleanup the response buffer once the response was processed. With the new logic in this patch, the response is always parsed (i.e. looked for a valid response or an error detected) before mm_serial_port_command_finish() returns, and actually this method now returns a totally different GByteArray, not the internal response buffer GByteArray, so there's no longer any need for the caller to explicitly clean it up. The one doing the cleanup is the parser method itself in every case. This change also allows us to return serial port responses in idle, but that's not changed for now as there's no immediate need. | |||
2014-02-13 | port-serial: remove unneeded method | Aleksander Morgado | |
2014-02-13 | port-serial: use a 'priv' pointer to handle the private info | Aleksander Morgado | |
2014-02-13 | port-serial: use GIO Async API like method for command() | Aleksander Morgado | |
2014-02-13 | port-serial: use GIO Async API like method for flash() | Aleksander Morgado | |
2014-02-13 | port-serial: use GIO Async API like method for reopen() | Aleksander Morgado | |
2014-02-13 | ports: rename 'MMSerialPort' to 'MMPortSerial' | Aleksander Morgado | |