PlainProtocol Library does not work...
walkabout 2015-07-04 15:38:21 2312 Views3 Replies Not at all... Not even sure why need this layer? But it does seem could be useful...
Anyway... Can download zip from bottom of this page:
https://www.dfrobot.com/blog-69.html
BTW... This page does not work as all the links are broken (nice....)
https://community.dfrobot.com/
And of course can pull from GitHub here:
https://github.com/DFRobot/PlainProtocol
Wherever you get it, it will not work as as typical call routines use structure(s) not present in PlainProtocol library.
Even the plainprotocol demo *.ino file on the Github site does not work with its adjacent PlainProtocol code.
There is a mismatch somewhere, and an up-to-date PlainProtocol does not appear to be available anywhere? Or did I dfrobot it? Anyone else see or run into this?
For example some typical mismatch problems are:
bluno_shield_test.ino: In function 'void loop()':
bluno_shield_test:106: error: 'class PlainProtocol' has no member named 'equals'
bluno_shield_test:107: error: 'class PlainProtocol' has no member named 'read'
walkabout wrote:Was not sure... Anyway, any ideas on getting past the plainprotocol issue? Is there a library update available?
DFROBOT's posted code shown here will not work:
Will not work... because of this line (for example)...
if (mytest.equals("speed")) { //send "100;" in Serial monitor
I do not see support in the plainprotocol library for the "equals" structure.
Thanks!
I took a glance at the post, but wondering what's it for? which board it supplies for?
So what are you doing now~ I am quiet confused, could you share with me??
Leff DFROBOT's posted code shown here will not work:
Will not work... because of this line (for example)...
if (mytest.equals("speed")) { //send "
I do not see support in the plainprotocol library for the "equals" structure.
Thanks!
walkabout 
