This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

combining multilink central with usb generic

Hey,

I'm using the nRF52840 dongle with SDK15.3. Am trying to make it a central device that is configured as a HID mouse when plugged. So I'm combining both multilink_central and USB_Generic examples.

Fullscreen
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
/**
* Copyright (c) 2014 - 2019, Nordic Semiconductor ASA
*
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification,
* are permitted provided that the following conditions are met:
*
* 1. Redistributions of source code must retain the above copyright notice, this
* list of conditions and the following disclaimer.
*
* 2. Redistributions in binary form, except as embedded into a Nordic
* Semiconductor ASA integrated circuit in a product or a software update for
* such product, must reproduce the above copyright notice, this list of
* conditions and the following disclaimer in the documentation and/or other
* materials provided with the distribution.
*
* 3. Neither the name of Nordic Semiconductor ASA nor the names of its
* contributors may be used to endorse or promote products derived from this
* software without specific prior written permission.
*
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

am getting these errors:

am not sure if there is conflict in difinitions or something needs to be changed in config.h file. I have enabled all of both needs but am not sure what is missing.

Aside: is there an easier way to have the dongle be seen as an HID mouse and always looking to pair with the MAC address i provide?

Help is appriciated,

Thanks,

Maher