summaryrefslogtreecommitdiff
path: root/py/pystack.h
diff options
context:
space:
mode:
authorJim Mussared <jim.mussared@gmail.com>2020-09-11 10:53:09 +1000
committerDamien George <damien@micropython.org>2020-09-15 15:23:51 +1000
commit504522bd02f9d9f9848d5a6e38427df3d1e4a6e3 (patch)
tree78dcc1faa7fa5140fff1faaf894020821e560a95 /py/pystack.h
parentb31cb21a3936b97af4a52b082e1f40c2061aeab7 (diff)
extmod/modbluetooth: Fix handling of optional data/uuid args.
For the following 3 functions, previously the code relied on whether the arg was passed at all, to make it optional. Now it allows them to be explicitly `None` to indicate they are not used: - gatts_notify(..., [data]) - gattc_discover_services(..., [uuid]) - gattc_discover_characteristics(..., [uuid]) Also ensure that the uuid arguments are actually instances of the uuid type, and fix handling of the 5th arg in gattc_discover_characteristics().
Diffstat (limited to 'py/pystack.h')
0 files changed, 0 insertions, 0 deletions