add device-interface.md describing the internal device API
tune number of buffers, validate data when it is received