Author Topic: Lplan.Subscribe crash  (Read 424 times)

kristofferis

  • Sr. Member
  • ****
  • Posts: 287
  • Location: Sweden
    • View Profile
Lplan.Subscribe crash
« on: July 20, 2016, 08:32:06 am »
Hello.

I need to make a lot of debugging and the mcDevboard is perfect for this, I hope all developers out there have taken the chance to buy one at the good discount.

But I noticed a bug in mcStudio when trying to subscribe to MQTT then mcStudio crashes.

Simple test case:
Connect to mcDevboard in mcStudio and run following code
Code: [Select]
Shared Event Boot()
        Lplan.Subscribe("mcModule/Kitchen/freezer")
End Event

and mcStudio will crash with the error you see in the attachment.

Share on Facebook Share on Twitter


mc-John

  • Global Moderator
  • Full Member
  • *****
  • Posts: 212
    • View Profile
Re: Lplan.Subscribe crash
« Reply #1 on: July 20, 2016, 02:05:06 pm »
Currently the Publish and IFTTT does not work because not all gateway functionality is operational. (The gateway is emulated in mc-Studio)
It high on the priority list.

-John-


kristofferis

  • Sr. Member
  • ****
  • Posts: 287
  • Location: Sweden
    • View Profile
Re: Lplan.Subscribe crash
« Reply #2 on: July 20, 2016, 03:01:14 pm »
Ahh that explains it.
It's not fun to go back to debug over Lplan when you are used to the mcDevboard  ;)

Thanks for the information, I will be the first to test when this function is added  :)