回复
发帖数: 22
注册日期: ‎08-16-2017

EFR32 802.15.4

大家好!有个问题想请教一下,我在RAILTEST的例程上添加了802.15.4的一些初始化函数,却通信不了,下图是我的具体设置,哪里设置错误吗?

发帖数: 101
注册日期: ‎12-02-2016

回复: EFR32 802.15.4

Hi,
If you enable 802154 function, the transmitting packet should be organized according to 802.15.4 standard, and the receiver should decode the packet according to the same standard.
If the packet format such as address, PANID, CRC and so on is not correct, the receiver will drop it.
So, you need to check if the packet is correct so that it could be decoded successfully by the receiver in your testing.
For more information about 802.15.4 standard, please refer to the official spec.


Below is a successful operation for TX node and RX node about 802154 function.  FYI.
It's tested under railtest example, and you could also find the API interfaces which are used for configuring 802154 function in the source file about CLI command.


TX node:
 
> rx 0
> config2p4GHz802154
> enable802154 rx 100 192 1000
> setTxLength 26
> setTxPayload 0 0x1b 0x61 0x98 0x00 0x34 0x12 0x44 0x33 0x55 0x44
> setTxPayload 10 0x00 0x01 0x02 0x03 0x04 0x05 0x06 0x07 0x08 0x09
> setTxPayload 20 0x0a 0x0b 0x0c 0x0d 0x0e 0x0f
> tx 1
 
 
RX node:
 
> rx 0
> config2p4GHz802154
> enable802154 rx 100 192 1000
> setPanId802154 4660
> setShortAddr802154 13124
> setLongAddr802154 221 204 187 170 153 136 119 102
> rx 1
 
 

Regards,
Yongsheng