libnjb  2.2.7
Macros
Enumerators to identify different jukeboxes

Macros

#define NJB_DEVICE_NJB1   0x00
 
#define NJB_DEVICE_NJB2   0x01
 
#define NJB_DEVICE_NJB3   0x02
 
#define NJB_DEVICE_NJBZEN   0x03
 
#define NJB_DEVICE_NJBZEN2   0x04
 
#define NJB_DEVICE_NJBZENNX   0x05
 
#define NJB_DEVICE_NJBZENXTRA   0x06
 
#define NJB_DEVICE_DELLDJ   0x07
 
#define NJB_DEVICE_NJBZENTOUCH   0x08
 
#define NJB_DEVICE_NJBZENMICRO   0x09
 
#define NJB_DEVICE_DELLDJ2   0x0a
 
#define NJB_DEVICE_POCKETDJ   0x0b
 
#define NJB_DEVICE_ZENSLEEK   0x0c
 
#define NJB_DEVICE_CREATIVEZEN   0x0d
 
#define NJB_DEVICE_DELLDJ3   0x0e
 

Detailed Description

These are found in the device_type field of the njb_t struct. It is used a lot inside libnjb for deciding how to handle a certain device.

See also
njb_t

Macro Definition Documentation

◆ NJB_DEVICE_CREATIVEZEN

#define NJB_DEVICE_CREATIVEZEN   0x0d

Creative Zen (Micro variant)

◆ NJB_DEVICE_DELLDJ

#define NJB_DEVICE_DELLDJ   0x07

Dell Digital DJ "Dell DJ"

◆ NJB_DEVICE_DELLDJ2

#define NJB_DEVICE_DELLDJ2   0x0a

Second Generation Dell DJ

◆ NJB_DEVICE_DELLDJ3

#define NJB_DEVICE_DELLDJ3   0x0e

Third Generation Dell DJ

◆ NJB_DEVICE_NJB1

#define NJB_DEVICE_NJB1   0x00

Nomad Jukebox 1

Examples
handshake.c.

◆ NJB_DEVICE_NJB2

#define NJB_DEVICE_NJB2   0x01

Nomad Jukebox 2

◆ NJB_DEVICE_NJB3

#define NJB_DEVICE_NJB3   0x02

Nomad Jukebox 3

◆ NJB_DEVICE_NJBZEN

#define NJB_DEVICE_NJBZEN   0x03

Nomad Jukebox Zen (with FireWire)

◆ NJB_DEVICE_NJBZEN2

#define NJB_DEVICE_NJBZEN2   0x04

Nomad Jukebox Zen USB 2.0

◆ NJB_DEVICE_NJBZENMICRO

#define NJB_DEVICE_NJBZENMICRO   0x09

Nomad Jukebox Zen Micro

◆ NJB_DEVICE_NJBZENNX

#define NJB_DEVICE_NJBZENNX   0x05

Nomad Jukebox Zen NX

◆ NJB_DEVICE_NJBZENTOUCH

#define NJB_DEVICE_NJBZENTOUCH   0x08

Nomad Jukebox Zen Touch

◆ NJB_DEVICE_NJBZENXTRA

#define NJB_DEVICE_NJBZENXTRA   0x06

Nomad Jukebox Zen Xtra

◆ NJB_DEVICE_POCKETDJ

#define NJB_DEVICE_POCKETDJ   0x0b

Dell Pocket DJ

◆ NJB_DEVICE_ZENSLEEK

#define NJB_DEVICE_ZENSLEEK   0x0c

Zen Sleek