Skip to content

Commit bc6bb98

Browse files
chmorganh2zero
authored andcommitted
NimBLEServer::serviceChanged() should be public to enable it being called outside of the library to indicate GATT changes
1 parent 2cb68e2 commit bc6bb98

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎src/NimBLEServer.h‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,7 @@ class NimBLEServer {
8484
void setDataLen(uint16_t connHandle, uint16_t tx_octets) const;
8585
bool updatePhy(uint16_t connHandle, uint8_t txPhysMask, uint8_t rxPhysMask, uint16_t phyOptions);
8686
bool getPhy(uint16_t connHandle, uint8_t* txPhy, uint8_t* rxPhy);
87+
void serviceChanged();
8788

8889
# if MYNEWT_VAL(BLE_ROLE_CENTRAL)
8990
NimBLEClient* getClient(uint16_t connHandle);
@@ -122,7 +123,6 @@ class NimBLEServer {
122123
static int handleGapEvent(struct ble_gap_event* event, void* arg);
123124
static int handleGattEvent(uint16_t connHandle, uint16_t attrHandle, ble_gatt_access_ctxt* ctxt, void* arg);
124125
static void gattRegisterCallback(struct ble_gatt_register_ctxt* ctxt, void* arg);
125-
void serviceChanged();
126126
bool resetGATT();
127127

128128
bool m_gattsStarted : 1;

0 commit comments

Comments
 (0)