attempt to support "connect" function
This commit is contained in:
+5
-13
@@ -986,19 +986,7 @@ static void SimpleBLECentral_handleKeys(uint8_t shift, uint8_t keys)
|
||||
case BLE_STATE_IDLE:
|
||||
if(keys & KEY_UART_EN)
|
||||
{
|
||||
// if(GLEDStatus == LED_OFF){
|
||||
// flag_notify(EVT_MEM_LED);
|
||||
// }
|
||||
// else{
|
||||
// flag_notify(EVT_MEM_LED_OFF);
|
||||
// }
|
||||
if(UARTStatus == UART_IDLE){
|
||||
flag_notify(EVT_MEM_DECODE_INS);
|
||||
}
|
||||
// else if(UARTStatus == UART_RECEIVED_DATA){
|
||||
// flag_notify(EVT_MEM_UART_SEND);
|
||||
// }
|
||||
|
||||
flag_notify(EVT_MEM_DECODE_INS);
|
||||
}
|
||||
|
||||
if (keys & KEY_RIGHT)
|
||||
@@ -1010,6 +998,10 @@ static void SimpleBLECentral_handleKeys(uint8_t shift, uint8_t keys)
|
||||
break;
|
||||
|
||||
case BLE_STATE_DISCOVERED:
|
||||
if(keys & KEY_UART_EN){
|
||||
flag_notify(EVT_MEM_DECODE_INS);
|
||||
}
|
||||
|
||||
if (keys & KEY_LEFT)
|
||||
{
|
||||
//Display Discovery Results
|
||||
|
||||
+2
-2
@@ -6,11 +6,11 @@
|
||||
#define VERSION_DATE_MONTH 5
|
||||
#define VERSION_DATE_DAY 20
|
||||
#define VERSION_DATE_HOUR 15
|
||||
#define VERSION_DATE_MINUTE 49
|
||||
#define VERSION_DATE_MINUTE 51
|
||||
|
||||
// this is NOT the version hash !!
|
||||
// it's the last version hash
|
||||
#define VERSION_HASH 1760bdcaf74fe1bffefe8246adc2b015991e7903
|
||||
#define VERSION_HASH 38e3bf9a3b8f0026bc8d78dbcdafe38fcbc22ffb
|
||||
#define VERSION_GIT_BRANCH MemBoard_simple_central
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user