Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/anthropics/claude-desktop-buddy
/ functions
Functions
256 in github.com/anthropics/claude-desktop-buddy
⨍
Functions
256
◇
Types & classes
16
↓ 204 callers
Function
buddyPrint
src/buddy.cpp:69
↓ 204 callers
Function
buddySetCursor
Species pass 1× coords (relative to BUDDY_X_CENTER / BUDDY_Y_OVERLAY); transform here so all 18 species files stay scale-agnostic.
src/buddy.cpp:65
↓ 203 callers
Function
buddySetColor
src/buddy.cpp:68
↓ 126 callers
Function
buddyPrintSprite
src/buddy.cpp:55
↓ 17 callers
Function
beep
src/main.cpp:111
↓ 12 callers
Function
_xAck
Ack goes to both streams — we don't track which one delivered the command, and writes to a clientless SerialBT just drop. The bridge listens on whiche
src/xfer.h:17
↓ 10 callers
Function
characterInvalidate
src/character.cpp:281
↓ 7 callers
Function
ownerName
src/stats.h:251
↓ 7 callers
Function
wake
src/main.cpp:99
↓ 6 callers
Function
_infoHeader
Persistent screen-level title row ("INFO n/3") matching the PET header, then a per-page section label below it. The fixed title is the cue that B cyc
src/main.cpp:507
↓ 6 callers
Function
applyDisplayMode
src/main.cpp:125
↓ 5 callers
Function
bleWrite
src/ble_bridge.cpp:162
↓ 5 callers
Function
characterSetState
src/character.cpp:295
↓ 5 callers
Function
parseHexColor
src/character.cpp:63
↓ 5 callers
Function
send
(obj)
tools/test_xfer.py:17
↓ 5 callers
Function
speciesIdxSave
src/stats.h:260
↓ 5 callers
Function
wait_ack
(what, timeout=5)
tools/test_xfer.py:20
↓ 4 callers
Function
applyBrightness
src/main.cpp:97
↓ 4 callers
Function
buddyInvalidate
src/buddy.cpp:147
↓ 4 callers
Function
petName
src/stats.h:242
↓ 4 callers
Function
statsSave
src/stats.h:48
↓ 3 callers
Function
blePasskey
src/ble_bridge.cpp:138
↓ 3 callers
Function
dataBtActive
src/data.h:54
↓ 3 callers
Function
drawMenuHints
src/main.cpp:236
↓ 3 callers
Function
triggerOneShot
src/main.cpp:487
↓ 2 callers
Function
_applyJson
src/data.h:70
↓ 2 callers
Function
_safeCopy
Strip JSON-breaking chars — these names go into a printf'd JSON string unescaped (xfer.h status response). A quote persists to NVS and breaks the stat
src/stats.h:226
↓ 2 callers
Function
bleClearBonds
src/ble_bridge.cpp:140
↓ 2 callers
Function
bleSecure
src/ble_bridge.cpp:137
↓ 2 callers
Function
buddySetSpeciesIdx
src/buddy.cpp:115
↓ 2 callers
Function
buddySpeciesCount
src/buddy.cpp:132
↓ 2 callers
Function
buddySpeciesIdx
src/buddy.cpp:134
↓ 2 callers
Function
characterInit
src/character.cpp:140
↓ 2 callers
Function
characterLoaded
src/character.cpp:247
↓ 2 callers
Function
characterSetPeek
src/character.cpp:268
↓ 2 callers
Function
clockDow
src/main.cpp:411
↓ 2 callers
Function
dataConnected
src/data.h:50
↓ 2 callers
Function
dataDemo
src/data.h:48
↓ 2 callers
Function
drawClock
src/main.cpp:412
↓ 2 callers
Function
sendCmd
src/main.cpp:115
↓ 2 callers
Function
speciesIdxLoad
src/stats.h:253
↓ 2 callers
Function
statsMedianVelocity
Median of the velocity ring buffer. 0 if empty.
src/stats.h:127
↓ 1 callers
Function
_load_normalized
All frames at REF_W width, RGBA, with durations.
tools/prep_character.py:20
↓ 1 callers
Function
_save_state
(frames, durations, dst: Path, bbox, bg_rgb)
tools/prep_character.py:38
↓ 1 callers
Function
_union
(a, b)
tools/prep_character.py:32
↓ 1 callers
Function
_xWipeAllChars
Only one character lives on the device at a time. Installing a new one under a different name would otherwise leave the old one's files eating space.
src/xfer.h:44
↓ 1 callers
Function
_xWipeDir
src/xfer.h:24
↓ 1 callers
Function
applyReset
Tap-twice confirm: first tap arms (label flips to "really?"), second within 3s executes. Scrolling away clears the arm.
src/main.cpp:180
↓ 1 callers
Function
applySetting
src/main.cpp:152
↓ 1 callers
Function
bleAvailable
src/ble_bridge.cpp:151
↓ 1 callers
Function
bleConnected
src/ble_bridge.cpp:136
↓ 1 callers
Function
bleInit
src/ble_bridge.cpp:89
↓ 1 callers
Function
bleRead
src/ble_bridge.cpp:155
↓ 1 callers
Function
buddyInit
src/buddy.cpp:108
↓ 1 callers
Function
buddyNextSpecies
src/buddy.cpp:136
↓ 1 callers
Function
buddyPrintLine
src/buddy.cpp:42
↓ 1 callers
Function
buddyRenderTo
One-shot render to an arbitrary TFT_eSPI surface (M5.Lcd for landscape clock). Bypasses tick gating and the sprite fillRect — caller owns clearing. Ad
src/buddy.cpp:161
↓ 1 callers
Function
buddySetPeek
src/buddy.cpp:149
↓ 1 callers
Function
buddyTick
src/buddy.cpp:173
↓ 1 callers
Function
characterClose
src/character.cpp:274
↓ 1 callers
Function
characterRenderTo
One-shot half-scale render to an arbitrary surface (M5.Lcd for the landscape clock). Caller owns clearing. Advances frame timing so animation runs eve
src/character.cpp:253
↓ 1 callers
Function
characterTick
src/character.cpp:333
↓ 1 callers
Function
checkShake
src/main.cpp:492
↓ 1 callers
Function
clockRefreshRtc
src/main.cpp:356
↓ 1 callers
Function
clockUpdateOrient
src/main.cpp:364
↓ 1 callers
Function
dataPoll
src/data.h:147
↓ 1 callers
Function
dataRtcValid
src/data.h:68
↓ 1 callers
Function
dataScenarioName
src/data.h:59
↓ 1 callers
Function
dataSetDemo
src/data.h:44
↓ 1 callers
Function
derive
src/main.cpp:479
↓ 1 callers
Function
drawApproval
src/main.cpp:725
↓ 1 callers
Function
drawHUD
src/main.cpp:890
↓ 1 callers
Function
drawInfo
src/main.cpp:532
↓ 1 callers
Function
drawMenu
src/main.cpp:322
↓ 1 callers
Function
drawPasskey
src/main.cpp:518
↓ 1 callers
Function
drawPet
src/main.cpp:869
↓ 1 callers
Function
drawPetHowTo
src/main.cpp:838
↓ 1 callers
Function
drawPetStats
src/main.cpp:783
↓ 1 callers
Function
drawReset
src/main.cpp:285
↓ 1 callers
Function
drawSettings
src/main.cpp:251
↓ 1 callers
Method
feed
src/data.h:133
↓ 1 callers
Function
flash
(src: Path)
tools/flash_character.py:17
↓ 1 callers
Function
gifPlace
Peek mode renders at half scale (2:1 nearest-neighbor in gifDrawCb) so the whole pet fits the 70px window instead of cropping the top.
src/character.cpp:50
↓ 1 callers
Function
install
(src: Path)
tools/prep_character.py:55
↓ 1 callers
Function
isFaceDown
Face-down = Z-axis dominant and negative. Debounced so a toss doesn't count.
src/main.cpp:91
↓ 1 callers
Function
menuConfirm
src/main.cpp:305
↓ 1 callers
Function
nextPet
Cycle GIF (if installed) → ASCII species 0..N-1 → GIF. Persisted to the existing "species" NVS key; 0xFF means GIF mode.
src/main.cpp:68
↓ 1 callers
Function
ownerSet
src/stats.h:244
↓ 1 callers
Function
petNameLoad
src/stats.h:216
↓ 1 callers
Function
petNameSet
src/stats.h:235
↓ 1 callers
Function
rxPush
src/ble_bridge.cpp:33
↓ 1 callers
Function
send_file
(name, path)
tools/test_xfer.py:35
↓ 1 callers
Function
settingsLoad
src/stats.h:190
↓ 1 callers
Function
settingsSave
src/stats.h:202
↓ 1 callers
Function
startBt
src/main.cpp:14
↓ 1 callers
Function
statsEnergyTier
src/stats.h:166
↓ 1 callers
Function
statsFedProgress
src/stats.h:173
↓ 1 callers
Function
statsLoad
src/stats.h:29
↓ 1 callers
Function
statsMoodTier
0..4 tier. Velocity sets the base; heavy denial ratio drags it down.
src/stats.h:142
↓ 1 callers
Function
statsOnApproval
Level is token-driven now; approvals only feed mood/velocity.
src/stats.h:64
next →
1–100 of 256, ranked by callers