private static final String TAG = "MainActivity";
// value为数据源,类型Byte[]
byte[] data = (byte[])value.getValue();
// Byte[]转换String
Log.d(TAG, "-------------------receive-------data-----------------------" + Arrays.toString(data));
// Byte[]读取数组元素
Log.d(TAG, "0----------------------" + data[0]);
Log.d(TAG, "1----------------------" + data[1]);
Log.d(TAG, "2----------------------" + data[2]);
Log.d(TAG, "3----------------------" + data[3]);