Calculate valid cc1000 radio channels
tos-channelgen [-p] frequency
tos-channelgen computes the CC1000 channel which is closest to the requested frequency. With the -p option, tos-channelgen prints a table (suitable for use in a C initialiser) containing all the CC1000 settings for the channel.
tos-channelgen 916000000 tos-channelgen -p 433000000