don't json encode particle
reuse particle object to improve speed

Change-Id: If14a8f23f355286c9ac9450b4b8caa3a89f90771
change usage of bool to int, corrected CRC calculation to always return a value

Change-Id: Ie4940a9ccf3004ca853efc4c51d6a11913f69886
Merge "change usage of bool to int, corrected CRC calculation to always return a value"
max uint values should be 2**n-1

Change-Id: Icb251c99245519449c85465f620fe0e61b95bf95
fix for booleans and spelling typo in adcpt
Merge "fix for booleans and spelling typo in adcpt"