基本注册和下发关阀,移除阀门测试没啥问题+1
This commit is contained in:
parent
729a210a88
commit
9d155d5ff1
|
@ -357,10 +357,10 @@ uint16_t Central_ProcessEvent(uint8_t task_id, uint16_t events)
|
||||||
*/
|
*/
|
||||||
static uint16_t connect0_ProcessEvent(uint8_t task_id, uint16_t events)
|
static uint16_t connect0_ProcessEvent(uint8_t task_id, uint16_t events)
|
||||||
{
|
{
|
||||||
logDebug("connect0_ProcessEvent 0x%02x", events);
|
// logDebug("connect0_ProcessEvent 0x%02x", events);
|
||||||
if (events & START_SVC_DISCOVERY_EVT)
|
if (events & START_SVC_DISCOVERY_EVT)
|
||||||
{
|
{
|
||||||
logDebug("START_SVC_DISCOVERY_EVT");
|
// logDebug("START_SVC_DISCOVERY_EVT");
|
||||||
|
|
||||||
// start service discovery
|
// start service discovery
|
||||||
// centralConnIistStartDiscovery_0();
|
// centralConnIistStartDiscovery_0();
|
||||||
|
@ -474,7 +474,7 @@ static uint16_t connect0_ProcessEvent(uint8_t task_id, uint16_t events)
|
||||||
}
|
}
|
||||||
if (events & CH4_NOTI_EVT)
|
if (events & CH4_NOTI_EVT)
|
||||||
{
|
{
|
||||||
logDebug("CH4_NOTI_EVT\r\n");
|
// logDebug("CH4_NOTI_EVT\r\n");
|
||||||
if (centralConnList[CONNECT0_ITEM].procedureInProgress == FALSE)
|
if (centralConnList[CONNECT0_ITEM].procedureInProgress == FALSE)
|
||||||
{
|
{
|
||||||
// Do a write
|
// Do a write
|
||||||
|
|
Loading…
Reference in New Issue