CereLink
Blackrock Neurotech Cerebus Link for Neural Signal Processors
Install / Use
/learn @CerebusOSS/CereLinkREADME
CereLink
Software development kit for Blackrock Neurotech neural signal processing hardware (Cerebus, CerePlex, NSP, Gemini).
Components
- cbsdk — C/C++ library for two-way communication with hardware
- pycbsdk — Python wrapper (cffi, no compiler needed at install time)
Architecture
Modular library stack:
| Module | Purpose |
|--------|---------|
| cbproto | Protocol definitions, packet types, version translation |
| cbshm | Shared memory (Central-compat and native layouts) |
| cbdev | Device transport (UDP sockets, handshake, clock sync) |
| cbsdk | SDK orchestration (device + shmem + callbacks + config) |
| ccfutils | CCF XML config file load/save |
| pycbsdk | Python package via cffi ABI mode |
Connection Modes
- STANDALONE — CereLink owns the device connection and shared memory
- CLIENT — Attach to another CereLink instance's shared memory
- CENTRAL_COMPAT CLIENT — Attach to Central's shared memory with on-the-fly protocol translation
Build
See BUILD.md for build instructions.
Python
pip install pycbsdk
Or build from source — see pycbsdk/.
Testing with nPlayServer
On Windows, download and install the latest version of Cerebus Central Suite from the Blackrock Neurotech support website (scroll down). You may also wish to download some sample data from this same website.
Testing on localhost
Navigate to C:\Program Files\Blackrock Microsystems\Cerebus Central Suite\ and run runNPlayAndCentral.bat. This runs a device simulator (nPlayServer) and Central on localhost loopback.
Testing on network
Configure IP addresses: client at 192.168.137.198 or .199, device at 192.168.137.128 (NSP) or 192.168.137.200 (Gemini Hub).
Run nPlayServer --help for options:
- Legacy NSP:
nPlayServer -L --network inst=192.168.137.128:51001 --network bcast=192.168.137.255:51002 - Gemini Hub:
nPlayServer -L --network inst=192.168.137.200:51002 --network bcast=192.168.137.255:51002
Linux Network
Firewall:
sudo ufw allow in on enp6s0 from 192.168.137.0/24 to any port 51001:51005 proto udp
Replace enp6s0 with your ethernet adapter.
Socket Buffer Size:
echo "net.core.rmem_max=16777216" | sudo tee -a /etc/sysctl.d/99-cerebus.conf
echo "net.core.rmem_default=8388608" | sudo tee -a /etc/sysctl.d/99-cerebus.conf
Then reboot.
Getting Help
- Read the project wiki
- Search issues on GitHub
- Open an issue
This is a community project and is not officially supported by Blackrock Neurotech.
Related Skills
node-connect
343.1kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
90.0kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
343.1kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
343.1kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
