A Multi-radio Ad-hoc Network Platform.
##Hardware
-
Intel Edison with Arduino kit.
-
RF4463F30 (si4463)
-
RF4463F30 to Edison converter board
- Documents/rf4463f30-to-edison-pcb
-
xiaomi 10000mAh power bank
-
https://github.com/xyongcn/vanet-radio#build-an-intel-edison-image
-
Patch the edison kernel with 0001-default-chan-for-802154.patch (for yocto release 2.0), rebuild the edison-image.
- clean the linux build.
- bitbake -c cleansstate linux-yocto
- patch:
- https://github.com/xyongcn/vanet-radio/blob/master/kernel_driver/0001-default-chan-for-802154.patch
- Move the patch file to the edison-src/device-software/meta-edison/recipes-kernel/linux/files
- vi edison-src/device-software/meta-edison/recipes-kernel/linux/linux-yocto_3.10.bbappend
- Add one line at the bottom:
- SRC_URI += "file://0001-default-chan-for-802154.patch"
- clean the linux build.
-
Replace the defconfig for kernel.
- https://github.com/xyongcn/vanet-radio/blob/master/kernel_driver/defconfig
- mv defconfig edison-src/device-software/meta-edison/recipes-kernel/linux/files
-
Rebuild:
- bitbake edison-image
-
Flash the edison.
- https://software.intel.com/en-us/iot/hardware/edison/downloads
- "SDK - Cross Compile Tools Download - Windows* 32-bit,Windows* 64-bit,OS X*,Linux* 32-bit,Linux* 64-bit "
- Dowload the cross compile tools corresponding to your system.
- Set the tools. Using ubuntu-32bit as an example:
- uncompress the file.
- source <position of the tools>/1.6.1/environment-setup-core2-32-poky-linux
- echo $CC
- $CC -o xxx xxx.c
https://github.com/xyongcn/vanet-radio/tree/master/kernel_driver
-
Bluetooth adb shell for edison:
- https://github.com/xyongcn/bt-adb-shell
- Note: The file transmission in the bt-adb-shell is slow.
-
Use the wifi & ssh to transfer files.
- fast.
- https://software.intel.com/en-us/get-started-edison-linux-step5
- Note: The pin 7 will disorder the wifi. So if the sub-1G radio is installed after wifi, you should re-start wifi by ifconfig wlan0 down & up.