cancel
Showing results for 
Search instead for 
Did you mean: 

Where is the control of incoming data on BlueNRG-2 MESH SDK for generic ON/OFF model

GF
Associate II

Hi community !

I tested BlueNRG-2 generic ON/OFF model with other type of card with Mesh compatibility with which i can send what i want. When i'm sending a 2 bytes message like 01-00, DL3 (LED 3) switch ON which is normal. When the message is 2, 3 or 4 bytes long it still work, but when it's an 1 or more than 4 bytes long the card seems to no longer working. So i use breakpoint on the code to see where the income data is stopped.

In generic.c file, the data go through "GenericModelServer_ProcessMessageCb" when it's a 2,3 or 4 bytes and is stopped before when it's a longer one.

But i don't see when this function is called... So is there a way to let longer message going through this ?

Sincerely

GF

1 ACCEPTED SOLUTION

Accepted Solutions
GF
Associate II

I found it ! it's in generic.c file on "Generic_Opcodes_Table"

View solution in original post

1 REPLY 1
GF
Associate II

I found it ! it's in generic.c file on "Generic_Opcodes_Table"