bnep_lwip.h (97dc5e692c7d94a280158af58036a0efee5b0e56) bnep_lwip.h (9c30c50ad9bd9aea4c7d19b660a546f058597946)
1/*
2 * Copyright (C) 2019 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

--- 57 unchanged lines hidden (view full) ---

66/**
67 * @brief Register BNEP service
68 * @brief Same as benp_register_service, but bnep lwip adapter handles all events
69 * @param service_uuid
70 * @Param max_frame_size
71 */
72uint8_t bnep_lwip_register_service(uint16_t service_uuid, uint16_t max_frame_size);
73
1/*
2 * Copyright (C) 2019 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

--- 57 unchanged lines hidden (view full) ---

66/**
67 * @brief Register BNEP service
68 * @brief Same as benp_register_service, but bnep lwip adapter handles all events
69 * @param service_uuid
70 * @Param max_frame_size
71 */
72uint8_t bnep_lwip_register_service(uint16_t service_uuid, uint16_t max_frame_size);
73
74/**
75 * @brief Creates BNEP connection (channel) to a given server on a remote device with baseband address. A new baseband connection will be initiated if necessary.
76 * @param addr
77 * @param l2cap_psm
78 * @param uuid_src
79 * @param uuid_dest
80 */
81uint8_t bnep_lwip_connect(bd_addr_t addr, uint16_t l2cap_psm, uint16_t uuid_src, uint16_t uuid_dest);
74
75#if defined __cplusplus
76}
77#endif
78
79#endif
82
83#if defined __cplusplus
84}
85#endif
86
87#endif