mirror of
https://github.com/Next-Flip/Momentum-Firmware.git
synced 2026-05-20 04:54:45 -07:00
BLE advertising improvements (#4151)
* Support longer advertised BLE UUID * BLE: support manufacturer data * Don't pair when GapPairingNone * Add PR feedback --------- Co-authored-by: hedger <hedger@users.noreply.github.com>
This commit is contained in:
@@ -68,7 +68,13 @@ typedef struct {
|
||||
} GapConnectionParamsRequest;
|
||||
|
||||
typedef struct {
|
||||
uint16_t adv_service_uuid;
|
||||
struct {
|
||||
uint8_t UUID_Type;
|
||||
uint16_t Service_UUID_16;
|
||||
uint8_t Service_UUID_128[16];
|
||||
} adv_service;
|
||||
uint8_t mfg_data[20];
|
||||
uint8_t mfg_data_len;
|
||||
uint16_t appearance_char;
|
||||
bool bonding_mode;
|
||||
GapPairing pairing_method;
|
||||
|
||||
Reference in New Issue
Block a user