leshan
leshan copied to clipboard
Transactional API at client side
Bootstap operation and write composite(#959) need atomic modification of the LWM2M tree. So maybe we need a commit/rollback mechanism or at least an API which allow user to implement it.
@moznion, do you already feel you need something like this ?
Yes, absolutely! Sometimes I was feeling I wish I were able to manipulate the tree atomically.
Do you already have a vague idea about what the API should looks like ?
This could maybe also used to support a more robust bootstrap session at client side. (see https://github.com/OpenMobileAlliance/OMA_LwM2M_for_Developers/issues/523)