iMX233-OLinuXino-MAXI have UEXT connector, so it’s very easy to add Bluetooth connectivity with MOD-BT.
What you need is to copy the MOD-BT files from GitHub: https://github.com/OLIMEX/OLINUXINO/tree/master/SOFTWARE/iMX233/MOD-BT and to compile them:
you will build mod-bt executable, you should use it with these commands
# ./mod-bt –config
to configure MOD-BT
after this command you can start and stop MOD-BT with these commands:
# ./mod-bt –start
and
# ./mod-bt –stop
when MOD-BT is started you can pair it to any device with Bluetooth, the default name is BGB203 and password 0000
once paired you can use the –transfer to send message to the paired device and –receive to receive message from the paired device.
you can use the code template to make your own code which interact with the bluetooth devices.
Recent Comments