bnep.c (6535961a1f105e850ecdf294c128b9fc982ee05a) bnep.c (78315a58573f370dd679856042aa32fba14bc84a)
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

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

1562 }
1563 }
1564}
1565
1566
1567/* BNEP BTStack API */
1568void bnep_init(void)
1569{
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

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

1562 }
1563 }
1564}
1565
1566
1567/* BNEP BTStack API */
1568void bnep_init(void)
1569{
1570 bnep_security_level = LEVEL_2;
1570 bnep_security_level = gap_get_security_level();
1571}
1572
1573void bnep_set_required_security_level(gap_security_level_t security_level)
1574{
1575 bnep_security_level = security_level;
1576}
1577
1578int bnep_connect(btstack_packet_handler_t packet_handler, bd_addr_t addr, uint16_t l2cap_psm, uint16_t uuid_src, uint16_t uuid_dest)

--- 86 unchanged lines hidden ---
1571}
1572
1573void bnep_set_required_security_level(gap_security_level_t security_level)
1574{
1575 bnep_security_level = security_level;
1576}
1577
1578int bnep_connect(btstack_packet_handler_t packet_handler, bd_addr_t addr, uint16_t l2cap_psm, uint16_t uuid_src, uint16_t uuid_dest)

--- 86 unchanged lines hidden ---