From 307c2d6aedf1bbe4978e1d67a70aa86a39eab20e Mon Sep 17 00:00:00 2001 From: Glenn Ruben Bakke Date: Sat, 18 Feb 2017 18:12:37 +0100 Subject: [PATCH] nrf5/modules: Updating method documentation in ubluepy peripheral class. --- nrf5/modules/ubluepy/ubluepy_peripheral.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nrf5/modules/ubluepy/ubluepy_peripheral.c b/nrf5/modules/ubluepy/ubluepy_peripheral.c index 6ea6081a5e..841f8ab79b 100644 --- a/nrf5/modules/ubluepy/ubluepy_peripheral.c +++ b/nrf5/modules/ubluepy/ubluepy_peripheral.c @@ -196,7 +196,7 @@ STATIC mp_obj_t peripheral_disconnect(mp_obj_t self_in) { STATIC MP_DEFINE_CONST_FUN_OBJ_1(ubluepy_peripheral_disconnect_obj, peripheral_disconnect); /// \method addService(Service) -/// Add service to the Peripheral. +/// Get all service registered in the Peripheral. /// STATIC mp_obj_t peripheral_add_service(mp_obj_t self_in, mp_obj_t service) { ubluepy_peripheral_obj_t * self = MP_OBJ_TO_PTR(self_in); @@ -210,7 +210,7 @@ STATIC mp_obj_t peripheral_add_service(mp_obj_t self_in, mp_obj_t service) { } STATIC MP_DEFINE_CONST_FUN_OBJ_2(ubluepy_peripheral_add_service_obj, peripheral_add_service); -/// \method disconnect() +/// \method getServices() /// disconnect connection. /// STATIC mp_obj_t peripheral_get_services(mp_obj_t self_in) {