These are chat archives for SmingHub/Sming

15th
Mar 2016
alon24
@alon24
Mar 15 2016 07:00
@robotiko any news about this?
@hreintke any thoughts about adding websocket client?
hreintke
@hreintke
Mar 15 2016 07:55
@alon24 : See PR #258 If you finish that (please do for both NONOS and RTOS) we can include the functionality
alon24
@alon24
Mar 15 2016 10:17
I can make the sample websocketclient compile in rtos. but it does not connect for me
robotiko
@robotiko
Mar 15 2016 10:17
@alon24 compile and work are usally quite different
alon24
@alon24
Mar 15 2016 10:18
that a good observation , I will cheish it for ever! - thank you CAPTAIN OBIVOUS!!! :)
robotiko
@robotiko
Mar 15 2016 10:20
buuuuu :D
that PR was laying there as untested and somebody reported that was not working..
becuase had soem local fixes.. not pushed..
so I guess
alon24
@alon24
Mar 15 2016 10:21
someone reported he made it work for him
robotiko
@robotiko
Mar 15 2016 10:21
but didnt share
alon24
@alon24
Mar 15 2016 10:22
@azmathmoosa here?
@hrsavla here?
(just touching all the bases with poeple , name calling them) :)
robotiko
@robotiko
Mar 15 2016 10:25
scooby doo, here?
:smile:
alon24
@alon24
Mar 15 2016 10:27
what I want ot know is where is Waldo
alon24
@alon24
Mar 15 2016 11:51
K so websocketclient DOES work
on rtos
I just did NOT check correctly (my theathering network (from 3g) does not pass websocket ports)
WebSocket message received:
Hello 21
TCP received new: 11 bytes
onReadyToSendData: 1
Static OnReceive buf = 2905
�    Hello 22
WebSocket message received:
Hello 22
TCP received new: 11 bytes
onReadyToSendData: 1
Static OnSent buf = 2920
TCP sent: 15
robotiko
@robotiko
Mar 15 2016 11:53
cool
alon24
@alon24
Mar 15 2016 11:53
(works ok) - the demo
alonewolfx2
@alonewolfx2
Mar 15 2016 12:37
@alon24 which demo?
alon24
@alon24
Mar 15 2016 12:38
websocketclient application
alonewolfx2
@alonewolfx2
Mar 15 2016 12:38
which repo
alon24
@alon24
Mar 15 2016 12:39
well I took @hrsvala code, pr/feature, imported to smingrtos, and just changes the imorts
it works ok, cannot test any more, but it wors no changes
alonewolfx2
@alonewolfx2
Mar 15 2016 12:40
ok i will test it
hreintke
@hreintke
Mar 15 2016 14:12
If it is the same code as the PR/feature branch, at least it will need updates before merging #282
alon24
@alon24
Mar 15 2016 14:14
@hreintke all i stated was that it seems to work, I did not have time to do other things to it :)
mainly following 282
hreintke
@hreintke
Mar 15 2016 14:48
@alon24 That what I expected. And nice to see that the functionality basically works in RTOS :smile:
alon24
@alon24
Mar 15 2016 15:30
well there was just one change - there was an randomSeed(analogRead(0)) - there is no analogRead in RTOS, so I changed it to randomSeed(1234); which is probebly no correct