Example
LGATTClient::scan Method
int32_t numOfDevice = scan(20);
// timeout is set to 10 seconds.