mirror of
https://github.com/m5stack/StackChan.git
synced 2026-04-27 19:12:40 +00:00
update firmware v1.2.4 (#16)
This commit is contained in:
@@ -44,6 +44,10 @@ struct ble_gatt_register_ctxt;
|
||||
#define STACKCHAN_SVC_UUID_BASE \
|
||||
0xf0, 0xde, 0xbc, 0x9a, 0x78, 0x56, 0x34, 0x12, 0x78, 0x56, 0x34, 0x12, 0xe0, 0xe5, 0xe5, 0xe2
|
||||
|
||||
// Service UUID Alt: e2e5e5ff-1234-5678-1234-56789abcdef0
|
||||
#define STACKCHAN_SVC_UUID_BASE_ALT \
|
||||
0xf0, 0xde, 0xbc, 0x9a, 0x78, 0x56, 0x34, 0x12, 0x78, 0x56, 0x34, 0x12, 0xff, 0xe5, 0xe5, 0xe2
|
||||
|
||||
// Motion Characteristic UUID: e2e5e5e1-1234-5678-1234-56789abcdef0
|
||||
#define STACKCHAN_CHR_MOTION_UUID \
|
||||
0xf0, 0xde, 0xbc, 0x9a, 0x78, 0x56, 0x34, 0x12, 0x78, 0x56, 0x34, 0x12, 0xe1, 0xe5, 0xe5, 0xe2
|
||||
@@ -160,9 +164,9 @@ void stackchan_ble_set_conn_handle(uint16_t conn_handle);
|
||||
bool stackchan_ble_is_connected(void);
|
||||
|
||||
void gatt_svr_register_cb(struct ble_gatt_register_ctxt *ctxt, void *arg);
|
||||
int gatt_svr_init(void);
|
||||
int gatt_svr_init(bool use_alt_uuid);
|
||||
|
||||
void ble_prph_init(void);
|
||||
void ble_prph_init(bool use_alt_uuid);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user