Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - Artanicus

Pages: [1]
1
mc-Platform General / Programming experience
« on: July 15, 2016, 03:38:05 pm »
Programming these things is proving to be quite frustrating over all. I'll try to iterate the things that irk me.
a) It's a silly programming language that seems to be somewhere around VB-like, but this isn't really stated anywhere. Just the odd statement of "you don't need to be a programmer" .. I'm a programmer and I'm still lost with this silly language :D
b) There's no documentation of what's available of the programming language features of the base language (e.g. I  tried to concat strings with & which doesn't work, need to use + which can't handle string & int concats)
c) There's no documentation of what's been added in addition to the base language, i.e. what is specific to dealing with the mcModules. Sure there's LedRed and friends in the examples but how do I get the ID of the mcModule for example? I'm sure there's a variable with a very specific name that magically has the data but what it is, who knows.
d) The examples are available only inside mcStudio. And since you can't open another instance of it, to refer to them you're flipping  between projects. Could you publish all the examples on GitHub / Bitbucket so we could file bugs, pull requests etc against them? Let's make the examples great!
e) Being limited to mcStudio to write code. The editor is clunky, period. Sure I can write my code in Vim and copy-paste it over, but howabout some standalone tools to push code to the modules debug / permanent space? Preferably: Open Source, written in C / C++, CLI only, OS agnostic. Stick it on GitHub and unleash the potential.

I see potential but without proper documentation and effortless tools it's not worth investing further effort.

2
MQTT / Working with ListOfByte
« on: July 15, 2016, 01:36:04 pm »
So, I've got MQTT running and I'm getting beacons fine. I can even push data myself, but it seems I'm restricted to payloading a ListOfByte and cannot payload a string directly. Converting a String to ListOfByte works fine:  payload.Add(payString) .. But how do I do the reverse on the backend side? I don't really know what language you're emulating so ListOfByte seems like a confusing and undocumented data type that's hard to work with.

(Is there really no option to just push a raw string without conversions on the other side?)

3
MQTT / Topics?
« on: June 07, 2016, 04:28:05 pm »
I can't seem to find anywhere what topics should I subscribe to? Running Mosquitto.

Pages: [1]