Niclas Lindgren

Results 8 comments of Niclas Lindgren

We found the same when trying the library out at the edge of Norway static public GregorianCalendar[] getSunTimes(GregorianCalendar calNow, Position pos) { GregorianCalendar[] res = SPA.calculateSunriseTransitSet(calNow, pos.getLatitude(), pos.getLongitude(), 68); return...

The problem is that the sparkplug spec makess layer breaking assumptions of what is sent on the wire instead of just caring about the value is receives from the encoding...

I tried with 1.6.13 and 2.0.0, it works fine in 1.6.13 and not on 2.0.0

I managed to build and run in the debugger, same thing happens on head. Funny observation though, if I put a break point on Row 283 in packet_mosq.c, on the...

I think the issue is that bridge_check_pending sets the state for the bridge to mosq_cs_new, too early. if I just skip that until at least one poll event has happened...

A very minimal "fix", which isn't a fix, but the last_check variable isn't really used in bridge_check, if we use that and return on the first ever check (maybe even...

To pin point the issue I added a flag that mux_poll sets on the connect event If bridge_check checks that to make sure it can actually set the state to...

I could provide a pull request, but I have not fully understand when bridge__connect_step3 has to be called. I would have wanted this to either happen in the mux_poll, or...