bnep.c (b42623de0e6a86971a810513e410910e7af4ffd6) | bnep.c (45a58b3093f5320b8ffda59b52081d2b540d3217) |
---|---|
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 --- 1523 unchanged lines hidden (view full) --- 1532 } 1533 } 1534} 1535 1536 1537/* BNEP BTStack API */ 1538void bnep_init(void) 1539{ | 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 --- 1523 unchanged lines hidden (view full) --- 1532 } 1533 } 1534} 1535 1536 1537/* BNEP BTStack API */ 1538void bnep_init(void) 1539{ |
1540 bnep_security_level = LEVEL_0; | 1540 bnep_security_level = LEVEL_2; |
1541} 1542 1543void bnep_set_required_security_level(gap_security_level_t security_level) 1544{ 1545 bnep_security_level = security_level; 1546} 1547 1548int bnep_connect(btstack_packet_handler_t packet_handler, bd_addr_t addr, uint16_t l2cap_psm, uint16_t uuid_src, uint16_t uuid_dest) --- 87 unchanged lines hidden --- | 1541} 1542 1543void bnep_set_required_security_level(gap_security_level_t security_level) 1544{ 1545 bnep_security_level = security_level; 1546} 1547 1548int bnep_connect(btstack_packet_handler_t packet_handler, bd_addr_t addr, uint16_t l2cap_psm, uint16_t uuid_src, uint16_t uuid_dest) --- 87 unchanged lines hidden --- |