Hi all.
Would it be possible to use the bluetooth component HC06 in FC7 to connect, for example, an Android device and use modbus rtu protocol?
Has anyone tried already? Any ideas on how it could be done?
/Nick
Modbus RTU/HC06
Moderator: Benj
-
- Posts: 58
- Joined: Sat Aug 22, 2009 5:45 pm
- Has thanked: 17 times
- Been thanked: 7 times
- Benj
- Matrix Staff
- Posts: 15312
- Joined: Mon Oct 16, 2006 10:48 am
- Location: Matrix TS Ltd
- Has thanked: 4803 times
- Been thanked: 4314 times
- Contact:
Re: Modbus RTU/HC06
Hi Nick,
I can't say I've tried this but yes it should be possible.
The Bluetooth CDC class is basically just a standard asynchronous data connection so it should be just as easy as if you had a wire. I would get a wired version working first for sanity and then move to the Bluetooth version.
I can't say I've tried this but yes it should be possible.
The Bluetooth CDC class is basically just a standard asynchronous data connection so it should be just as easy as if you had a wire. I would get a wired version working first for sanity and then move to the Bluetooth version.
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
-
- Posts: 58
- Joined: Sat Aug 22, 2009 5:45 pm
- Has thanked: 17 times
- Been thanked: 7 times
Re: Modbus RTU/HC06
Hi Ben.
Thanks for your reply, and your suggestion is spot on what I´m trying right now, I´ll post the result here when I´m done.
/Nick
Thanks for your reply, and your suggestion is spot on what I´m trying right now, I´ll post the result here when I´m done.
/Nick