| 123456789101112131415161718192021222324252627 |
- /* Bluetooth: Mesh Generic OnOff, Generic Level, Lighting & Vendor Models
- *
- * Copyright (c) 2018 Vikrant More
- *
- * SPDX-License-Identifier: Apache-2.0
- */
- #ifndef _PUBLISHER_H
- #define _PUBLISHER_H
- /* Others */
- #define LEVEL_S0 -32768
- #define LEVEL_S25 -16384
- #define LEVEL_S50 0
- #define LEVEL_S75 16384
- #define LEVEL_S100 32767
- #define LEVEL_U0 0
- #define LEVEL_U25 16384
- #define LEVEL_U50 32768
- #define LEVEL_U75 49152
- #define LEVEL_U100 65535
- void randomize_publishers_TID(void);
- void publish(struct ble_npl_event *work);
- #endif
|