goep_server.h (2c39e30fac419b63815f6407380629247af6b09c) | goep_server.h (8f4649e3ba0a9d21085f42b688929492b3ab33b7) |
---|---|
1/* 2 * Copyright (C) 2022 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 --- 129 unchanged lines hidden (view full) --- 138 * Request GOEP_SUBEVENT_CAN_SEND_NOW 139 * @param goep_cid 140 * @return status 141 */ 142uint8_t goep_server_request_can_send_now(uint16_t goep_cid); 143 144/** 145 * @brief Start Connect response | 1/* 2 * Copyright (C) 2022 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 --- 129 unchanged lines hidden (view full) --- 138 * Request GOEP_SUBEVENT_CAN_SEND_NOW 139 * @param goep_cid 140 * @return status 141 */ 142uint8_t goep_server_request_can_send_now(uint16_t goep_cid); 143 144/** 145 * @brief Start Connect response |
146 * @note Reserves outgoing packet buffer 147 * @note Must only be called after a 'can send now' check or event 148 * @note Asserts if packet buffer is already reserved |
|
146 * @param goep_cid 147 * @param obex_version_number 148 * @param flags 149 * @param maximum_obex_packet_length 150 * @return status 151 */ 152uint8_t goep_server_response_create_connect(uint16_t goep_cid, uint8_t obex_version_number, uint8_t flags, uint16_t maximum_obex_packet_length); 153 154/** 155 * @brief Start General response | 149 * @param goep_cid 150 * @param obex_version_number 151 * @param flags 152 * @param maximum_obex_packet_length 153 * @return status 154 */ 155uint8_t goep_server_response_create_connect(uint16_t goep_cid, uint8_t obex_version_number, uint8_t flags, uint16_t maximum_obex_packet_length); 156 157/** 158 * @brief Start General response |
159 * @note Reserves outgoing packet buffer 160 * @note Must only be called after a 'can send now' check or event 161 * @note Asserts if packet buffer is already reserved |
|
156 * @note response code is set by goep_server_execute 157 * @param goep_cid 158 * @param opcode 159 * @return status 160 */ 161uint8_t goep_server_response_create_general(uint16_t goep_cid); 162 163/** --- 52 unchanged lines hidden --- | 162 * @note response code is set by goep_server_execute 163 * @param goep_cid 164 * @param opcode 165 * @return status 166 */ 167uint8_t goep_server_response_create_general(uint16_t goep_cid); 168 169/** --- 52 unchanged lines hidden --- |