test notify
This commit is contained in:
+5
-1
@@ -523,8 +523,12 @@ static void headstage_neu_append_notify_data() {
|
||||
// not_buf[2] = (INSTRUCTION.recording_channel | 0x00FF);
|
||||
|
||||
uint8_t data_size = headstage_notify_append_data(not_buf);
|
||||
|
||||
cdr_buf[0] = data_size;
|
||||
SimpleProfile_SetParameter(BLE_CDR_BUFF_CHAR, 1, cdr_buf);
|
||||
|
||||
if (data_size >= BLE_NOT_BUFF_SIZE) {
|
||||
headstage_led_color(COLOR_RED);
|
||||
headstage_led_color(COLOR_YELLOW);
|
||||
headstage_notify_flip_buffer();
|
||||
headstage_notify_send();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user