Author Topic: Sigfox SigfoxRadioZone definitions.  (Read 206 times)

Bartw

  • Newbie
  • *
  • Posts: 29
    • View Profile
Sigfox SigfoxRadioZone definitions.
« on: January 11, 2017, 03:46:18 pm »
Hello,
we have just got our Demo205.

I am just trying to get the sigfox up and running and need to configure it to the Australia/New Zealand region
However i can't find any documentation for the Lplan.SigfoxRadioZone configuration can some one please tell me where i would find this?.

I am also wanting to add an I2C/SPI device. however I wish to use an interrupt signal from the device in a similar manner to the on board LIS2DH12.
can this be done with the GPIO interface? If not is it possible to get the software working if i used one of the LIS2DH12 interrupt lines instead?

Regards
Bart

Share on Facebook Share on Twitter


Bartw

  • Newbie
  • *
  • Posts: 29
    • View Profile
Re: Sigfox SigfoxRadioZone definitions.
« Reply #1 on: January 11, 2017, 03:55:50 pm »
MC Studio finally suggested SigfoxRadioZone.Australia
Still be good to look at some documentation.

mc-T2

  • Administrator
  • Sr. Member
  • *****
  • Posts: 252
  • mc-Things! The opportunities are endless!
  • Location: Canada
    • View Profile
Re: Sigfox SigfoxRadioZone definitions.
« Reply #2 on: January 11, 2017, 04:36:45 pm »
BartW,

Glad you were able to figure it out! We do have documentation on the mcDemo205 (product specification found here: https://static1.squarespace.com/static/5644f11fe4b0d6ca7d80d351/t/582f8781e4fcb5e251bc00a4/1479509893678/mcDemo205+Product+Specification+V0.3.pdf) and you can also check out our support and resource pages on our website to find links to all the documentation that we provide. That document provides a bunch of information about the device and also includes multiple examples.

That said, I will make a note to ask our team to include the SIGFOX functions to make this easier for clients working with the mcDemo205.

You can (As you found out) hit CTRL + Space while you write code to get suggestions. See image below. I have also attached an example code for using the GPS, temp and battery voltage functions and then relaying that through SIGFOX

Yes, you can use the GPIO for the interrupt!
 
You need to define the pin you want to use as an input. Setup one of the pins that is available as an input (High, pullup, etc) and then raise an event depending on the polarity of the interrupt (IE pinfallingedge or pinrisingedge). When that event happens, that is your interrupt triggering. You can then write your ISR code in this event.
Hope that helps!
« Last Edit: January 11, 2017, 04:44:11 pm by mc-T2 »
Need more mc-Modules, mc-Gateways or other mc-Things? Check out our product page: www.mcthings.com/products. mc-Development kits are available too!
Check out a live Dashboard using mcThings and Losant! Click here: https://goo.gl/ST43hB

Bartw

  • Newbie
  • *
  • Posts: 29
    • View Profile
Re: Sigfox SigfoxRadioZone definitions.
« Reply #3 on: January 11, 2017, 06:25:02 pm »
Hello

I have been through that and as you know there is only a one liner on sigfox... but i know how it goes with product development :)

Anyway we have sigfox data working and just our way through the scripting for the sensors. I look forward to looking through your provided code.

Regards
Bart

mc-T2

  • Administrator
  • Sr. Member
  • *****
  • Posts: 252
  • mc-Things! The opportunities are endless!
  • Location: Canada
    • View Profile
Re: Sigfox SigfoxRadioZone definitions.
« Reply #4 on: January 12, 2017, 11:37:17 am »
Thanks for the feedback. Yes, currently in mcScript we only list a single SIGFOX function.

This will be updated soon. We are soon to release a new version of mcStudio as well as an updated mcScript guide. I believe there is somewhere between 40-50 pages of new material that will be added to the guide including all the lplan.sigfoxradio functions as well.

Thanks for your patience as we work towards providing this information.

Glad you have the SIGFOX stuff working now!
Need more mc-Modules, mc-Gateways or other mc-Things? Check out our product page: www.mcthings.com/products. mc-Development kits are available too!
Check out a live Dashboard using mcThings and Losant! Click here: https://goo.gl/ST43hB
Agree Agree x 1 View List