These are chat archives for synrc/n2o

4th
Sep 2017
Chintan Mishra
@ChintanMishra_twitter
Sep 04 2017 08:13

I visited N2O website but I have some questions. Is N2O a replacement for MQTT?

It appears that N2O works on top of MQTT while using the benefits of MQTT and reducing the redundant code. Am I correct to assume that it has robustness and real-time connectivity similar(if not equal) to that of MQTT?

Namdak Tonpa
@5HT
Sep 04 2017 12:37
N2O is a web framework that works over MQTT TCP/UDP/WS and not WebSockets
we just sending all the messages through MQTT
and N2O is implemented as plugin of EMQ server
Chintan Mishra
@ChintanMishra_twitter
Sep 04 2017 13:01
So if I am making an Android app using Java then how can I use it for sending messages between client and server?
Namdak Tonpa
@5HT
Sep 04 2017 13:49
by using Paho client and BERT encoder/decoder
For Swift we have model generator from Erlang typed records https://github.com/synrc/macbert
same thing we want to release for Java
Chintan Mishra
@ChintanMishra_twitter
Sep 04 2017 13:53
Thanks @5HT
Andy
@m-2k
Sep 04 2017 13:56
WS and not WebSockets
Hmm
Namdak Tonpa
@5HT
Sep 04 2017 13:56
WebSockets/HTTP only I meant
Andy
@m-2k
Sep 04 2017 13:56
Okay
Namdak Tonpa
@5HT
Sep 04 2017 16:26
@ChintanMishra_twitter here is what we've built with n2o/mqtt:
https://github.com/NYNJA-MC/protocol
we have Android, iOS and Web clients
all are using pure MQTT paho clients with BERT encoders
Namdak Tonpa
@5HT
Sep 04 2017 23:22
you may also want to try its free sample http://review.n2o.space