Precedence-related bug fixes.
* "==" takes precedence over "&"
* "+" takes precedence over "<<"
Missing prototype and includes.

* `transaction_remove()` wasn't declared in header;
* `<ctype.h>` needed for functions `isspace()`, `isprint()` etc.
Typo in comment.
Fixed bad/missing return codes in `lwm2m_set_bootstrap_server()` and `lwm2m_handle_packet()`.
Removed unused variables, fixed some signedness issues.
Added CMake build artifacts to `.gitignore`.
Merge pull request #19 from fab13n/master

Precedence-related bug fixes.
Add tlvdecode to .gitignore
Merge pull request #18 from sbernard31/master

Add userData to bufferSend callback.
Build: move er-coap-13 from externals to core.

Also fix include paths and CMakeList.txt in tests/

Signed-off-by: David Navarro <david.navarro@intel.com>
Update README
fixed precedence-related bug
fixed wrong case number for reset-error-code in Device Obj
Fixed: path_location string was deallocated before being sent
added some checks
wrong check-condition
Merge pull request #22 from domedambrosio/liblwm2m_fix

precedence-related bug / wrong case value in device Obj / registration bug
Make logs optionals.

Signed-off-by: David Navarro <david.navarro@intel.com>
Remove a warning (not the most satisfying way)
Also fix some coding style.

Signed-off-by: David Navarro <david.navarro@intel.com>
Bug fix: we not always have a result callback.

Signed-off-by: David Navarro <david.navarro@intel.com>
Here is the real fix.

Signed-off-by: David Navarro <david.navarro@intel.com>