Damien George
7aeafe2ae9
extmod/modbluetooth: Add optional 4th arg to gattc_write for write mode.
...
This allows the user to explicitly select the behaviour of the write to the
remote peripheral. This is needed for peripherals that have
characteristics with WRITE_NO_RESPONSE set (instead of normal WRITE). The
function's signature is now:
BLE.gattc_write(conn_handle, value_handle, data, mode=0)
mode=0 means write without response, while mode=1 means write with
response. The latter was the original behaviour so this commit is a change
in behaviour of this method, and one should specify 1 as the 4th argument
to get back the old behaviour.
In the future there could be more modes supported, such as long writes.
2019-12-04 23:23:07 +11:00
..
2017-11-10 00:09:43 +02:00
2017-12-04 18:36:20 +02:00
2017-07-02 15:37:31 +03:00
2017-07-02 15:37:31 +03:00
2019-12-04 23:18:23 +11:00
2019-01-25 12:18:34 +11:00
2019-07-31 23:45:24 +10:00
2017-07-02 15:37:31 +03:00
2019-10-23 11:43:01 -05:00
2019-12-04 15:02:54 +11:00
2019-09-04 15:35:09 +10:00
2019-09-04 15:05:03 +10:00
2019-05-20 14:51:56 +10:00
2019-03-14 07:29:04 +11:00
2019-06-03 00:42:24 +10:00
2019-12-04 15:02:54 +11:00
2019-06-03 00:42:24 +10:00
2019-11-07 14:47:11 +11:00
2017-08-29 00:08:40 +03:00
2018-09-26 15:21:10 +10:00
2018-07-31 23:40:06 +10:00
2019-12-04 15:02:54 +11:00
2018-08-14 15:21:54 +10:00
2017-04-18 15:27:37 +10:00
2017-07-02 15:37:31 +03:00
2019-07-17 16:09:32 +10:00
2018-09-27 17:23:42 +10:00
2019-10-16 14:08:28 +11:00
2018-09-27 17:23:42 +10:00
2018-09-27 17:23:42 +10:00
2018-09-27 17:23:42 +10:00
2019-12-04 15:02:54 +11:00
2019-12-04 15:02:54 +11:00
2019-12-04 15:02:54 +11:00
2019-09-03 23:25:45 +10:00
2019-12-04 15:02:54 +11:00
2019-12-04 23:18:17 +11:00
2018-07-18 15:47:44 +10:00
2019-12-04 15:02:54 +11:00
2019-12-04 15:02:54 +11:00
2018-10-19 17:31:59 +11:00
2019-12-04 23:18:17 +11:00
2019-12-04 15:02:54 +11:00
2016-06-08 16:21:28 +03:00
2018-07-18 15:47:44 +10:00
2018-03-15 15:50:51 +11:00
2019-12-04 15:02:54 +11:00
2019-05-07 13:56:42 +10:00
2019-12-04 15:02:54 +11:00
2019-12-04 15:02:54 +11:00
2019-08-15 18:12:22 +10:00
2019-10-22 16:40:58 +11:00
2017-08-17 09:25:51 +03:00
2019-12-04 23:23:07 +11:00
2018-06-26 14:29:22 +10:00
2019-05-06 18:09:48 +10:00
2018-10-23 11:42:30 +11:00
2017-12-03 15:50:37 +02:00
2019-10-16 14:08:28 +11:00
2017-07-02 15:37:31 +03:00
2018-10-18 12:39:25 +11:00
2018-02-15 11:37:48 +11:00
2019-12-04 23:18:23 +11:00
2019-02-08 17:06:19 +11:00
2018-10-05 16:57:58 +10:00
2018-06-27 15:18:46 +10:00
2018-03-15 15:50:51 +11:00
2017-07-02 15:37:31 +03:00
2017-11-30 14:56:08 +11:00
2017-12-04 18:36:20 +02:00
2015-10-21 15:30:56 +02:00