contiki-os / contiki

The official git repository for Contiki, the open source OS for the Internet of Things
http://www.contiki-os.org/
Other
3.72k stars 2.58k forks source link

jn516x: vMMAC_SetChannelAndPower #1437

Closed neophob closed 8 years ago

neophob commented 8 years ago

I use a jn5168 module with an external FEM to boost the tx signal. I compile contiki using the parameter -DRADIO_TEST_MODE=RADIO_TEST_MODE_HIGH_PWR.

I suspect the sending power of my node is too low, as the communication starts to fail after about 7m (using only one node). micromac-radio.c sets the tx power by calling the jn516x API call vMMAC_SetChannelAndPower(current_channel, current_tx_power); - however I cant find this reference in my SDK - I'm using Build Number 1281.

Which SDK do you use and where can I find this API call?

TeVeDe commented 8 years ago

The function is not in MMAC.h as one would expect, but is defined 'ext'. I use the SDK with build number 1307.

neophob commented 8 years ago

thanks, I couln't find a reference in the JN SDK docs, but the function is (obviously) available