@@ -107,8 +107,7 @@ extern "C"
107107class AdafruitBluefruit
108108{
109109 public:
110- // Constructor
111- AdafruitBluefruit (void );
110+ AdafruitBluefruit (void ); // Constructor
112111
113112 /* ------------------------------------------------------------------*/
114113 /* Lower Level Classes (Bluefruit.Advertising.*, etc.)
@@ -124,22 +123,21 @@ class AdafruitBluefruit
124123
125124 /* ------------------------------------------------------------------*/
126125 /* SoftDevice Configure Functions, must call before begin().
127- * These function affect the SRAM consumed by SoftDevice. Should the
128- * required SRAM exceed numbered allocated by default linker, choose
129- * another linker in the IDE menu
126+ * These function affect the SRAM consumed by SoftDevice.
130127 *------------------------------------------------------------------*/
131- void configServiceChanged (bool changed);
132- void configUuid128Count (uint8_t uuid128_max);
133- void configAttrTableSize (uint32_t attr_table_size);
128+ void configServiceChanged (bool changed);
129+ void configUuid128Count (uint8_t uuid128_max);
130+ void configAttrTableSize (uint32_t attr_table_size);
134131
135132 // Config Bandwidth for connections
136- void configPrphConn (uint16_t mtu_max, uint8_t event_len, uint8_t hvn_qsize, uint8_t wrcmd_qsize);
137- void configCentralConn (uint16_t mtu_max, uint8_t event_len, uint8_t hvn_qsize, uint8_t wrcmd_qsize);
133+ void configPrphConn (uint16_t mtu_max, uint8_t event_len, uint8_t hvn_qsize, uint8_t wrcmd_qsize);
134+ void configCentralConn (uint16_t mtu_max, uint8_t event_len, uint8_t hvn_qsize, uint8_t wrcmd_qsize);
135+
138136 // Convenient function to config connection
139- void configPrphBandwidth (uint8_t bw);
140- void configCentralBandwidth (uint8_t bw);
137+ void configPrphBandwidth (uint8_t bw);
138+ void configCentralBandwidth (uint8_t bw);
141139
142- err_t begin (uint8_t prph_count = 1 , uint8_t central_count = 0 );
140+ err_t begin (uint8_t prph_count = 1 , uint8_t central_count = 0 );
143141
144142 /* ------------------------------------------------------------------*/
145143 /* General Functions
@@ -175,7 +173,7 @@ class AdafruitBluefruit
175173 ble_gap_addr_t getPeerAddr (void );
176174 uint8_t getPeerAddr (uint8_t addr[6 ]);
177175
178- void printInfo (void );
176+ void printInfo (void );
179177
180178 /* ------------------------------------------------------------------*/
181179 /* Callbacks
0 commit comments