---
name: "njbboxes"
section: "3"
platform: "linux"
package: "libnjb-doc"
version: "2.2.5-4.1"
release: "Debian 4.0 (Etch)"
platforms: ["linux"]
url: "https://new.carta.tech/njbboxes"
---

# njbboxes(3)

## NAME

Enumerators to identify different jukeboxes -

### Defines

\#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**

## Define Documentation

### #define NJB\_DEVICE\_CREATIVEZEN 0x0d

Creative Zen (Micro variant)

### #define NJB\_DEVICE\_DELLDJ 0x07

Dell Digital DJ 'Dell DJ'

### #define NJB\_DEVICE\_DELLDJ2 0x0a

Second Generation Dell DJ

### #define NJB\_DEVICE\_DELLDJ3 0x0e

Third Generation Dell DJ

### #define NJB\_DEVICE\_NJB1 0x00

Nomad Jukebox 1

**Examples:**  **handshake.c**.

### #define NJB\_DEVICE\_NJB2 0x01

Nomad Jukebox 2

### #define NJB\_DEVICE\_NJB3 0x02

Nomad Jukebox 3

### #define NJB\_DEVICE\_NJBZEN 0x03

Nomad Jukebox Zen (with FireWire)

### #define NJB\_DEVICE\_NJBZEN2 0x04

Nomad Jukebox Zen USB 2.0

### #define NJB\_DEVICE\_NJBZENMICRO 0x09

Nomad Jukebox Zen Micro

### #define NJB\_DEVICE\_NJBZENNX 0x05

Nomad Jukebox Zen NX

### #define NJB\_DEVICE\_NJBZENTOUCH 0x08

Nomad Jukebox Zen Touch

### #define NJB\_DEVICE\_NJBZENXTRA 0x06

Nomad Jukebox Zen Xtra

### #define NJB\_DEVICE\_POCKETDJ 0x0b

Dell Pocket DJ

### #define NJB\_DEVICE\_ZENSLEEK 0x0c

Zen Sleek
