Is it correct that bluez sometimes stores a negative value for RAND key in info file ?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I use bluetoothctl to pair with a BLE remote controller(RCU) ,
bluez creates a folder (named after RCU's bdaddr)
and 2 files under it (info , attributes),

odd thing is , in file info ,
there is a RAND key in [LongTermKey] group ,
paring many times , sometimes RAND will show a negative value in info ,

after look into source code , I found RAND is stored using
g_key_file_set_uint64(key_file, group, "Rand", rand); (src/adapter.c
store_longtermkey()) ,
from the api 's name , RAND should be a uint64 type , why it shows
negative sometimes?
--
To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux