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.


Messages - Bartw

Pages: [1] 2
1
mc-Gateway / Re: Hung Gateway.
« on: February 22, 2017, 07:15:19 pm »
Hi Abe,
This was on Ethernet.
Glad you have found the issue.
Regards
Bart

2
mc-Gateway / Hung Gateway.
« on: February 20, 2017, 02:46:55 pm »
Hello.

This morning our data wasn't coming through and required a power cycle of the gateway to restore connectivity.

Our current project is for remote monitoring on a 4G modem so this type of hang up is not ideal.

Looking on the losant server side i see the following errors.

I am not sure if its the gateway or Losant that caused the problem.

Gateway firmware is
mcGateway110-hp-v0.8-421.bin
mcGw110.bin

Anyone have any ideas?

Regards
Bart

3
mc-Studio / Re: Maths library or functions ??
« on: February 19, 2017, 03:12:34 pm »
Awesome thank you.
Regards
Bart

4
mc-Studio / Maths library or functions ??
« on: February 16, 2017, 08:26:57 pm »
Hello

Are there any maths libraries for square root, sin/cos/tan etc?
I am gather there isn't but being hopeful.

Regards
Bart

5
mc-Demo205 / Re: RTC update via GPS
« on: February 15, 2017, 10:09:06 pm »
Hello.

While on the subject of GPS feature requests, knowing the Dilution Of Precision would be very helpful.

This could be used in the backend server to calculate the gps position error.

The telit gps is not fantastically fast at locking especially while on the move.

Regards
Bart

6
Hi Abe,

Thank you for your reply.
It does not appear to come through even thought it should be queued
I set my thread to 20s with no change and then bumped it up to 30s and everything kicked into life.  :)
What really got me was the difference running in debug (no breakpoints) vs standalone.
Many thanks

Regards
Bart

7
mc-Demo205 / Re: list.max works and list.min doesn't work???
« on: February 15, 2017, 02:05:40 pm »

Thank you for clarifying these details. I have a for loop search work around for now.

Regards
Bart

8
Hi Abe,
Thanks for the reply

Yes this will likely explain the missing packets as i was hammering it from the ide to see what was going on.

However with the debug vs stand alone code there seems to be still an issue.

True we are in a 5 second thread but under normal condition we only send on sensed events.
In the test setup I have it the unit will power up and send one message and then wait for an event.
this is what i see under debug with no breakpoints but stand alone nothing happens.

Is there a power on wait period required before trying to send?

Regards
Bart

9
I spoke too soon. now my current project is 100% dead also...

Sigfox works mostly fine under debug but as soon as i build and "load and save"
power cycle and run from battery or usb for that matter...

I the code blinks an led after Lplan.Sigfox(msg) fine but nothing ends up at the sigfox backend,

The thread is called every 5 seconds to poll sensors and do so calcs there is only the odd message sent based on filtered events.

Code snippets / flow concept below please let me know a support email address that i can email the full project to..

Is there something i have missed???

I have tried the build release and debug neither seem to work for me.

As soon as i connect in mcstudio build and run in debug works first go...

regards
Bart

    Shared Event Boot()
        Lplan.SigfoxRadioZone(SigfoxRadioZone.Australia)
    End Event


    Shared Event mainloop() RaiseEvent Every 5 Seconds

        While (10 times)
            reading = read_sensor()
 //           do some filtering and add reading to a list

            Thread.Sleep(150000)
        End While
   
'do some list searching and list operations

     
        If  Then
        'do some more calculations and debug           
            If   Then
                'pack data and go!
                Dim msg As ListOfByte = New ListOfByte()
                msg.AddByte( around 7 bytes)

                Lplan.Sigfox(msg)

                Led2 = True ' this led toggles but no data ends up at sigfox
                Thread.Sleep(1000)
                Led2 = False
               
            End If
        End If
       
    End Event
 

10
mc-Studio / Re: Mc-studio is seriously unstable!
« on: February 15, 2017, 05:01:35 am »
I often get this crash when i am trying to connect to a Mc205


11
Unfortunately i have been allocated to another project for now but will try and post up once back to that particular job

12
mc-Demo205 / Re: New accelerometer library for Demo 205 released!
« on: February 15, 2017, 01:13:50 am »
Thanks Nick,
much appreciated

13
Hello,

I am missing events from my 205 and am having a closer look to see whats going on.

It looks like the 205 is not sending occasionally and I suspect I have seen this before.

Our office is covered by 3 sigfox base stations and even though our RSSI is somewhat low ~15-20dB SNR the packets are usually seen 2-3 times per station.

However I have just logged two missing packets that never made it even though i manually stepped through the code..

This is really messing up our demo projects and budgets.

Any one have any ideas?

14
mc-Demo205 / Re: list.max works and list.min doesn't work???
« on: February 14, 2017, 07:57:10 pm »
Updating to the lastest firmware STILL broken.

BTW took 10 goes before the firmware loaded OTA... >:( Can the 205 be updated over usb???

Regards
Bart


15
mc-Demo205 / list.max works but list.min doesn't work???
« on: February 14, 2017, 06:35:27 pm »
Hello.
As per attachment
.Max works fine.
.Min doesn't work
Any ideas ?

Pages: [1] 2