Loading Arduino Code Over Bluetooth With Avrdude

- - posted in Arduino, avrdude, bluetooth

Loading Arduino code to your target is simple with avrdude. Using Bluetooth to load that code with avrdude is nearly as simple

rfcomm

rfcomm is used to set up, maintain, and inspect the RFCOMM configuration of the Bluetooth subsystem in the Linux kernel. First of all, create /etc/bluetooth/rfcomm.conf

1
2
3
4
5
6
7
8
9
# /etc/bluetooth/rfcomm.conf
rfcomm0 {
bind yes;
# Replace the device address with the address of your bluetooth serial device
device 20:13:10:25:40:43;
# channel 1 is VERY IMPORTANT
channel 1;
comment "Bluetooth Serial";
}
Then use the rfcomm command to bind to the /dev/rfcomm0 device:
1
rfcomm bind 0

Comments