This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

修改底层key文件上层没响应的问题

Other Parts Discussed in Thread: CC2540, CC2530

我自己按网上查的cc2530的修改方法修改cc2540的按键。修改完之后HalKeyPoll函数的键值是对的,估计到这里都是没问题的,但是OnBoard.c中的按键回调函数估计没有执行到这,我是在此设了断点,没停在这过。可能问题就出现在这了,导致没向上传信息。但我有   HalKeyConfig( OnboardKeyIntEnable, OnBoard_KeyCallback);绑定这个回调函数的。我试了在HalKeyPoll函数中直接调用OnBoard_KeyCallback ,上层的simpleBLEPeripheral_HandleKeys可以响应,但键值读不出来。