Hi Johan, On Tue, Apr 29, 2014 at 10:05 AM, Johan Hedberg <johan.hedberg@xxxxxxxxx> wrote: > Hi, > > On Tue, Apr 29, 2014, Lukasz Rymanowski wrote: >> Register GAP service with device name characteristic, >> appearance and peripheral privacy flag >> --- >> android/gatt.c | 96 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ >> 1 file changed, 96 insertions(+) >> >> diff --git a/android/gatt.c b/android/gatt.c >> index 5ca22e2..d2b1684 100644 >> --- a/android/gatt.c >> +++ b/android/gatt.c >> @@ -161,6 +161,8 @@ static struct gatt_db *gatt_db = NULL; >> >> static GIOChannel *listening_sk = NULL; >> >> +static char device_name[249] = "BlueZ for Android"; > > Shouldn't this be hooked up to adapter.name in android/bluetooth.c? Yes, forgot to add todo but actually will do it now. > >> +struct gap_srvc_handles { >> + uint16_t srvc; >> + >> + /*Characteristics */ > > Space after /* fix in v2 > >> + if (handle == gap_srvc_data.dev_name) { >> + len = enc_read_resp((uint8_t *)&device_name[0], > > Space after typecast (our user space coding style convention). Not valid in v2 anymore > >> +static void register_gap_service(void) >> +{ >> + bt_uuid_t uuid; >> + >> + /*GAP UUID */ > > Space after /* fix in v2 > > Johan > -- > 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 Thanks Lukasz -- 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