Forum >PlainProtocol Library does not work...
General

PlainProtocol Library does not work...

userHead walkabout 2015-07-04 15:38:21 2189 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'

2015-07-08 23:37:18
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??
userHeadPic Leff
2015-07-08 21:30:07 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!
userHeadPic walkabout
2015-07-07 19:08:09 That‘s a very old post~ userHeadPic Leff