spp_server.h (80e33422a96c028b3a9c308fc4b9b874712dafb4) | spp_server.h (ec818a285cac0b16a0d9d9cbd32a15fe2cb1b33c) |
---|---|
1/* 2 * Copyright (C) 2014 BlueKitchen GmbH 3 * 4 * Redistribution and use in source and binary forms, with or without 5 * modification, are permitted provided that the following conditions 6 * are met: 7 * 8 * 1. Redistributions of source code must retain the above copyright --- 39 unchanged lines hidden (view full) --- 48 49#if defined __cplusplus 50extern "C" { 51#endif 52 53/* API_START */ 54 55/** | 1/* 2 * Copyright (C) 2014 BlueKitchen GmbH 3 * 4 * Redistribution and use in source and binary forms, with or without 5 * modification, are permitted provided that the following conditions 6 * are met: 7 * 8 * 1. Redistributions of source code must retain the above copyright --- 39 unchanged lines hidden (view full) --- 48 49#if defined __cplusplus 50extern "C" { 51#endif 52 53/* API_START */ 54 55/** |
56 * @brief Create SDP record for SPP service | 56 * @brief Create SDP record for SPP service with official SPP Service Class |
57 * @param service buffer - needs to large enough 58 * @param service_record_handle 59 * @param rfcomm_channel 60 * @param name 61 */ 62void spp_create_sdp_record(uint8_t *service, uint32_t service_record_handle, int rfcomm_channel, const char *name); 63 | 57 * @param service buffer - needs to large enough 58 * @param service_record_handle 59 * @param rfcomm_channel 60 * @param name 61 */ 62void spp_create_sdp_record(uint8_t *service, uint32_t service_record_handle, int rfcomm_channel, const char *name); 63 |
64/** 65 * @brief Create SDP record for SPP service with custom service UUID (e.g. for use with Android) 66 * @param service buffer - needs to large enough 67 * @param service_record_handle 68 * @param service_uuid128 buffer 69 * @param rfcomm_channel 70 * @param name 71 */ 72void spp_create_custom_sdp_record(uint8_t *service, uint32_t service_record_handle, const uint8_t * service_uuid128, int rfcomm_channel, const char *name); 73 |
|
64/* API_END */ 65 66#if defined __cplusplus 67} 68#endif 69#endif // SPP_SERVER_H | 74/* API_END */ 75 76#if defined __cplusplus 77} 78#endif 79#endif // SPP_SERVER_H |