Scott Bertin

Results 50 comments of Scott Bertin

This same change is also in #25 and the same problem also fixed by #49.

The size encoding is a known issue. Multiple pull requests (#49, #25) have been created to address it, but none merged.

__attribute__ ((visibility ("default"))) is not supported by all compilers. For example, the IAR ARM compiler I use does not support it, The proposed checks need to be modified to only...

Is anything else needed to get this merged?

I think you mean pointer to lwm2m_data_t, not pointer to int. C does not pass arrays by value. dataP and &dataP[0] are equivalent.

Just for reference, this stack overflow question (https://stackoverflow.com/questions/33035068/difference-between-array-and-array0/33035241) discusses the differences. In this case I think it comes down to personal preference. I don't have a strong opinion either way,...

I would suggest making the check `2 * COAP_MAX_TRANSMIT_WAIT < nextUpdate`. That will make it increase up to 93s which will then be half the lifetime. Edited: I shouldn't respond...

This would only happen when observing at the object level with no instances of the object. It appears to be an issue wherever object_readData() is called.

On the client side one thing that would be helpful is to allow writes to be local or remote. Local writes might have more access. For example, assume a resource...

As far as `value == var` or `var == value`, I find `var == value` slightly easier to read and write as it aligns with the way I think. I...